package com.gzw.provider.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class HelloController {

    @RequestMapping("hello")
    public String hello(String name){
        return "1909-2"+name;
    }

    @RequestMapping("map")
    public Map map(){
        Map map = new HashMap();
        map.put("name","1909");
        map.put("class","qfhope");
        return map;
    }

}
